package com.glink.manage.vo.barriergate;

import com.glink.manage.vo.mqtt.MqInfoVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * 设备登录返回
 * @Author : qiushaoshan
 * @create 2025/2/8 14:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeviceLoginVO implements Serializable {

    private static final long serialVersionUID = 8145953272393201107L;

    @ApiModelProperty(name = "code", notes = "0:成功     非0:失败")
    private int code;

    @ApiModelProperty(name = "dev_sno", notes = "设备号（设备MAC地址）")
    private String dev_sno;

    @ApiModelProperty(name = "msg", notes = "登录成功")
    private String msg;

    @ApiModelProperty(name = "success", notes = "true")
    private boolean success;

    @ApiModelProperty(name = "token", notes = "出入口, 1:出 2:入")
    private String token;

    @ApiModelProperty(name = "mqinfo", notes = "mqtt连接信息")
    private MqInfoVO mqinfo;
}
